const mongoose = require('mongoose');
const { modelName, getAlltypesModel } = require('../models/typesModel');



async function getAlltypes(req, res) {
    let result = await getAlltypesModel();
    res.send({
        code: 1,
        message: '试卷类型获取成功',
        result: result
    })
}


module.exports={
    getAlltypes,
}